//
//  TitleButton.swift
//  Weibo
//
//  Created by zxy on 2018/12/3.
//  Copyright © 2018 zxy. All rights reserved.
//

import Foundation

class TitleButton:UIButton {
    override func layoutSubviews() {
        super.layoutSubviews()
        titleLabel?.frame.origin.x = 0
        imageView?.frame.origin.x = titleLabel!.frame.size.width
    }
}
